/* eslint-disable no-unused-vars */
import { useNavigate } from "react-router-dom";
import { Avatar } from "antd-mobile";
function Logo() {
  const navigate = useNavigate();
  return (
    <>
      <Avatar
        onClick={() => {
          navigate("/");
        }}
        src="https://img0.baidu.com/it/u=3454724227,2677640314&fm=253&fmt=auto&app=138&f=JPEG?w=400&h=563"
        style={{
          "--size": "125px",
          margin: "30px auto 0",
          borderRadius: "15px",
        }}
      />
    </>
  );
}

export default Logo;
